/*---------------------------------------------------------------------------------------------------------*/
/*                                                                                                         */
/* Copyright(c) 2020 nuvoton Technology Corp. All rights reserved.       */
/*                                                                                                         */
/*---------------------------------------------------------------------------------------------------------*/

/***********************************************************************************************************/
/* Website: http://www.nuvoton.com                                                                         */
/*  E-Mail : MicroC-8bit@nuvoton.com                                                                       */
/*  Date   : Jan/21/2020                                                                                   */
/***********************************************************************************************************/

//***********************************************************************************************************
//  File Function: MS51 locate data in APROM simple demo 
//***********************************************************************************************************
#include "MS51_16K.H"

unsigned char code protect [] = { 
00,02,05,07
}; 


void main (void) 
{
  ALL_GPIO_QUASI_MODE;          // Define in Function_define.h

  while(1)
  {
    P0 = 0x00;
    P2 = 0x00;
    P1 = 0x00;
    Timer0_Delay(16000000,30,1000);
    P0 = 0xff;
    P2 = 0xff;
    P1 = 0xff;
    Timer0_Delay(16000000,30,1000);
    P0 = 0x00;
    P2 = 0x00;
    P1 = 0x00;
    Timer0_Delay(16000000,30,1000);
    P0 = 0xff;
    P2 = 0xff;
    P1 = 0xff;
    Timer0_Delay(16000000,30,1000);
    P0 = 0x00;
    P2 = 0x00;
    P1 = 0x00;
    P0 = 0XFF;
  
  }

}



